// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.lazy-load {
  // TODO: need better min-height for different sections?
  // most extra pages will be larger than this unless they have less than the default number of items.
  min-height: 150px; // excludes the non-lazy-loaded part (e.g. headers)

  &--loading {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &__button {
    text-align: center;
  }

  &__error {
    display: flex;
    flex-direction: column;
    color: hsl(var(--hsl-f1));
  }
}
